<div class="panel-header"><i/>二线投诉工单待办汇总 <span style="font-size: 10px;color: blue;"> &nbsp&nbsp&nbsp&nbsp(工作组包括一线支持投诉处理组、一线炎黄投诉处理组。)</span>
    <a href="javascript:void(0);" onclick="return false;" ng-click="doViewHistory()">历史信息查看</a>
    <div more-link="more.link" ng-if="more&&more.enabled!==false">{{more.text||'更多'}}</div>
    <div style="float: right">
        <span ng-repeat="type in types"
              ng-click="changeType($index)"
              ng-class="{'current-on':types.currentOn==$index}"
              style="padding: 2px 4px; cursor:pointer">{{type.name}}</span>
    </div>
</div>
<div class="panel-content">
    <table class="pure-table">
        <thead>
        <tr>
            <th title="工作组" width="14%">工作组</th>
            <th title="重要投诉" width="8%">重要投诉</th>
            <th title="待办" width="6%">待办</th>
            <th title="今日派单" width="8%">今日派单</th>
            <th title="今天超时" width="6%">今天超时</th>
            <th title="明天超时"  width="8%">明天超时</th>
            <th title="待办超时"  width="8%">待办超时</th>
            <th title="本月超时"  width="8%">本月超时</th>
            <th title="本月工单量"  width="8%">本月工单量</th>
            <th title="本月及时率"  width="8%">本月及时率</th>
            <th title="本月返单"  width="8%">本月返单</th>
            <th title="本月返单率"  width="8%">本月返单率</th>
        </tr>
        </thead>
        <tbody>
        <tr ng-repeat="r in rows|limitTo:7">
            <td title="{{r.GROUP_ID}}">{{r.GROUP_ID}}</td>
            <td title="{{r.IS_COLOR}}">{{r.IS_COLOR}}</td>
            <td title="{{r.TO_DO_NUMS}}"><a href="javascript:void(0);" onclick="return false;" ng-click="openSubView(r.CFG_ID,r.IS_COLOR_ID,'0')">
                    {{r.TO_DO_NUMS}}
                </a></td>
            <td title="{{r.TODAY_CREATE}}"><a href="javascript:void(0);" onclick="return false;" ng-click="openSubViewTodayCount(r.CFG_ID,r.IS_COLOR_ID)">
                    {{r.TODAY_CREATE}}
                </a></td>
            <td title="{{r.TODAY_NUMS}}"><a href="javascript:void(0);" onclick="return false;" ng-click="openSubView(r.CFG_ID,r.IS_COLOR_ID,'1')">
                    {{r.TODAY_NUMS}}
                </a></td>
            <td title="{{r.TOMORROW_NUMS}}"><a href="javascript:void(0);" onclick="return false;" ng-click="openSubView(r.CFG_ID,r.IS_COLOR_ID,'2')">
                    {{r.TOMORROW_NUMS}}
                </a></td>
            <td title="升越级投诉、督办工单、敏感投诉的超时工单，超时一单算两单"><a href="javascript:void(0);" onclick="return false;" ng-click="openSubView(r.CFG_ID,r.IS_COLOR_ID,'3')">
                    {{r.OUTTIME_NUMS}}
                </a></td>
            <td title="升越级投诉、督办工单、敏感投诉的超时工单，超时一单算两单"><a href="javascript:void(0);" onclick="return false;" ng-click="openSubViewDeal(r.CFG_ID,r.IS_COLOR_ID,'0')">
                {{r.OVERTIME_NUM}}
            </a></td>
            <td title="升越级投诉、督办工单、敏感投诉的超时工单，超时一单算两单"><a href="javascript:void(0);" onclick="return false;" ng-click="openSubViewDeal(r.CFG_ID,r.IS_COLOR_ID,'1')">
                {{r.DEAL_TOTAL_SUM}}
            </a></td>
            <td title="{{r.DEALY}}%">{{r.DEALY}}%</td>
            <td title="截止昨天的本月返单"><a href="javascript:void(0);" onclick="return false;" ng-click="openSubViewReturnCount(r.CFG_ID,r.IS_COLOR_ID)">
                {{r.RESUM}}
            </a></td>
            <td title="截止昨天的本月返单率">{{r.RERATE}}</td>
        </tr>
        </tbody>
    </table>
</div>